package com.ymttest.database.sharding.db.ext.mapper;

import com.ymttest.database.sharding.db.ext.model.DeliveryExample;
import com.ymttest.database.sharding.db.ext.model.DeliveryPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeliveryMapper {
    int countByExample(DeliveryExample example);

    int deleteByExample(DeliveryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DeliveryPo record);

    int insertSelective(DeliveryPo record);

    List<DeliveryPo> selectByExample(DeliveryExample example);

    DeliveryPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DeliveryPo record, @Param("example") DeliveryExample example);

    int updateByExample(@Param("record") DeliveryPo record, @Param("example") DeliveryExample example);

    int updateByPrimaryKeySelective(DeliveryPo record);

    int updateByPrimaryKey(DeliveryPo record);
}